package com.ouheng.shop.dao;

import com.ouheng.shop.domain.ReturnOrderDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 退款单
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-07-03 15:04:38
 */
@Mapper
public interface ReturnOrderDao {

	ReturnOrderDO get(Long id);
	
	List<ReturnOrderDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(ReturnOrderDO returnOrder);
	
	int update(ReturnOrderDO returnOrder);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
	
	ReturnOrderDO getByOrderId(Long orderId);
	
}
